]> dgit.raspbian.org Git - gnome-shell.git/commit
extensionUtils: Add DISABLING and ENABLING extension states
authorEvan Welsh <contact@evanwelsh.com>
Mon, 25 Jul 2022 02:25:23 +0000 (19:25 -0700)
committerMarge Bot <marge-bot@gnome.org>
Thu, 1 Dec 2022 12:59:32 +0000 (12:59 +0000)
commit56beb6ff2bc6ae1999b74f18bb61f91070628298
tree0758f8b1a20adaf205276d2c27b65cdfc4b80c71
parentb7c097ba79454dac6251ad69f28ba98f6ac6c559
extensionUtils: Add DISABLING and ENABLING extension states

Extensions can export asynchronous enable() and disable()
functions. To guard against re-entrancy when enabling or
disabling an extension, this commit adds two new states:
ENABLING and DISABLING which are set immediately prior
to calling enable() and disable() respectively.

This commit updates the extensions CLI and Extensions app
with new strings for these states.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2364>
data/dbus-interfaces/org.gnome.Shell.Extensions.xml
js/misc/extensionUtils.js
js/ui/extensionSystem.js
js/ui/lookingGlass.js
subprojects/extensions-tool/src/common.h
subprojects/extensions-tool/src/main.c